package net.huashitong.ssydt.provider.pk.mapper;


import net.huashitong.ssydt.base.dao.LongMapper;
import net.huashitong.ssydt.pk.entity.SsPkYzddRank;
import net.huashitong.ssydt.pk.entity.vo.RankingInVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsPkYzddRankMapper extends LongMapper<SsPkYzddRank> {

    int deleteByMatchRecordId(Long matchRecordId);

    int batchInsert(List<SsPkYzddRank> ssPkYzddRanks);

    SsPkYzddRank getByMatchRecordIdWithUserId(SsPkYzddRank ssPkYzddRank);

    List<SsPkYzddRank> query(RankingInVO rankingInVO);

    List<SsPkYzddRank> findTopTen(Long matchRecordId);
}